import { createApp } from 'vue'
import './style.css'
// import App from './components/多模块/App.vue'
// import App from './components/父传子/App.vue'
// import App from './components/子传父/App.vue'
// import App from './components/$ref使用/App.vue'
// import App from './components/provide&inject/App.vue'
// import App from './components/订阅发布和动态组件/App.vue'
// import App from './components/组件v-model/App.vue'
// import App from './components/异步组件/App.vue'
// import App from './components/插槽/App.vue'
// import App from './components/插槽作用域/App.vue'
// import App from './components/生命周期/App.vue'
// import App from './components/可复用过度/App.vue'
// import App from './vuerouter/App.vue'
// import router from './vuerouter/router/index.js'
// import router from './vuex/router/index.js'
// import App from './vuex/App.vue'
import store from './vuex/store/index.js'
// import App from './pinia/App.vue'
// import router from './pinia/router/index.js'
import App from './vant/App.vue'
import router from './vant/router/index.js'
import { createPinia } from 'pinia'
const pinia = createPinia()

// 1. 引入你需要的组件
// import { Button } from 'vant';
// 2. 引入组件样式
import 'vant/lib/index.css'; //这个必须全局引入
import './vant/util/config.js'
createApp(App)
    .use(pinia)
    .use(router)
    // .use(Button)
    // .use(store)
    .mount('#app')
